package com.glaway.car.dto;

public class RecordDTO {
    private Integer page = 1; //页码
    private Integer pageSize = 10; //每页展示记录数
    private String username;
    private String plateNumber;
    private String stationName;

    public RecordDTO() {
    }

    public RecordDTO(Integer page, Integer pageSize, String username, String plateNumber, String stationName) {
        this.page = page;
        this.pageSize = pageSize;
        this.username = username;
        this.plateNumber = plateNumber;
        this.stationName = stationName;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    @Override
    public String toString() {
        return "RecordDTO{" +
                "queryRecord=" + page +
                ", pageSize=" + pageSize +
                ", username='" + username + '\'' +
                ", plateNumber='" + plateNumber + '\'' +
                ", stationName='" + stationName + '\'' +
                '}';
    }
}
